<span id="connected_user">
	Vous êtes connecté en tant que
	<strong onclick="details(<?php echo $_SESSION['id']; ?>)"><?php echo $_SESSION['firstname'].' '.$_SESSION['name']; ?></strong>
	<em><?php echo $_SESSION['email'] ?></em>
	<img src="images/icons/user.png" alt="logged" />
</span>
<?php
	$page = isset($_GET['p']) ? $_GET['p'] : 'club';
	$rubrique = isset($_GET['r']) ? $_GET['r'] : 'agenda';
?>
<ul id="mainNav">
	<!-- Use the "active" class for the active menu item  -->
	<li>
		<a href="?p=club&amp;r=agenda" <?php if ($page == 'club') echo 'class="active"' ?>>
		<?php echo icon_tag('building') ?>LE CLUB</a>
	</li>	
	<li>
		<a href="?p=adherents&amp;r=adherents" <?php if ($page == 'adherents') echo 'class="active"'; ?>>
		<?php echo icon_tag('user') ?>ADHÉRENTS</a>
	</li>
	<li>
		<a href="?p=redaction&amp;r=contenus_gestion" <?php if ($page == 'redaction') echo 'class="active"'; ?>>
		<?php echo icon_tag('page_white_edit') ?>RÉDACTION</a>
	</li>
	<li>
		<a href="?p=menus&amp;r=menus" <?php if ($page == 'menus') echo 'class="active"'; ?>>
		<?php echo icon_tag('sitemap') ?>MENUS</a>
	</li>
	<li>
		<a href="?p=media&amp;r=photo_gallery_index" <?php if ($page == 'media') echo 'class="active"'; ?>>
		<?php echo icon_tag('monitor') ?>MÉDIA</a>
	</li>
	<li>
		<a href="?p=admin&amp;r=tuto" <?php if ($page == 'admin') echo 'class="active"' ?>>
		<?php echo icon_tag('wrench') ?>ADMIN</a>
	</li>	
	<li class="logout">
		<a href="?deconnexion">
		<?php echo icon_tag('disconnect') ?>DÉCONNEXION</a>
	</li>
</ul>
